package idv.loveloser.dao;

/**
 * AbstractMdlCourseModulesAvailability entity provides the base persistence
 * definition of the MdlCourseModulesAvailability entity. @author MyEclipse
 * Persistence Tools
 */

public abstract class AbstractMdlCourseModulesAvailability implements
		java.io.Serializable {

	// Fields

	private Long id;
	private Long coursemoduleid;
	private Long sourcecmid;
	private Boolean requiredcompletion;
	private Long gradeitemid;
	private Double grademin;
	private Double grademax;

	// Constructors

	/** default constructor */
	public AbstractMdlCourseModulesAvailability() {
	}

	/** minimal constructor */
	public AbstractMdlCourseModulesAvailability(Long coursemoduleid) {
		this.coursemoduleid = coursemoduleid;
	}

	/** full constructor */
	public AbstractMdlCourseModulesAvailability(Long coursemoduleid,
			Long sourcecmid, Boolean requiredcompletion, Long gradeitemid,
			Double grademin, Double grademax) {
		this.coursemoduleid = coursemoduleid;
		this.sourcecmid = sourcecmid;
		this.requiredcompletion = requiredcompletion;
		this.gradeitemid = gradeitemid;
		this.grademin = grademin;
		this.grademax = grademax;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCoursemoduleid() {
		return this.coursemoduleid;
	}

	public void setCoursemoduleid(Long coursemoduleid) {
		this.coursemoduleid = coursemoduleid;
	}

	public Long getSourcecmid() {
		return this.sourcecmid;
	}

	public void setSourcecmid(Long sourcecmid) {
		this.sourcecmid = sourcecmid;
	}

	public Boolean getRequiredcompletion() {
		return this.requiredcompletion;
	}

	public void setRequiredcompletion(Boolean requiredcompletion) {
		this.requiredcompletion = requiredcompletion;
	}

	public Long getGradeitemid() {
		return this.gradeitemid;
	}

	public void setGradeitemid(Long gradeitemid) {
		this.gradeitemid = gradeitemid;
	}

	public Double getGrademin() {
		return this.grademin;
	}

	public void setGrademin(Double grademin) {
		this.grademin = grademin;
	}

	public Double getGrademax() {
		return this.grademax;
	}

	public void setGrademax(Double grademax) {
		this.grademax = grademax;
	}

}